﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="InHoaDon.ascx.vb" Inherits="Control_BanHang_InHoaDon" %>
   <div class="PrintPage" id="content">
          <div class="Shop"><asp:Literal ID="ltrDomain" runat="server"></asp:Literal></div>  
          <asp:Repeater ID="rptShop" runat="server">
            <ItemTemplate>
            <div>
                <asp:Label id="lblTitle" runat="server"></asp:Label>
            </div>
            </ItemTemplate>
          </asp:Repeater>

         <asp:GridView ID="grdShow" runat="server" AutoGenerateColumns="False" 
            EmptyDataText="{Không có dữ liệu}" Width='100%' BorderWidth="1px" 
            CssClass="GridBorder">
                <Columns>                                                          
                     <asp:BoundField DataField='ProductCode' HeaderText='Mã hàng'>
                        <ItemStyle Width='10%' />
                    </asp:BoundField>

                    <asp:BoundField DataField='SellPrice' HeaderText='Đơn giá'  DataFormatString="{0:#,##0}">
                        <ItemStyle Width='5%' />
                    </asp:BoundField>    

                    <asp:BoundField DataField='Number' HeaderText='Số lượng' >
                        <ItemStyle Width='5%' />
                    </asp:BoundField>      

                     <asp:BoundField DataField='GrossAmount' HeaderText='Thành tiền'  DataFormatString="{0:#,##0}">
                        <ItemStyle Width='5%' />
                    </asp:BoundField>      
                </Columns>
                <HeaderStyle Height="26px" HorizontalAlign="Left" CssClass="GridHeader" />
                <RowStyle CssClass="GridRow" Height="23px" />
                <AlternatingRowStyle CssClass="GridAlterRow" />
                <PagerStyle CssClass="GridPaged" HorizontalAlign="Right" Height="23px" />
                <PagerSettings Mode="Numeric" PageButtonCount="2" />
                <EmptyDataRowStyle CssClass="GridTextEmpty" HorizontalAlign="Center" />
            </asp:GridView>   			
            <div class="Total">
		            <asp:Label ID="Label1" runat="server"  Text="Tổng:" />&nbsp;<asp:Label ID="lblGrossAmount" runat="server" text="" />
            </div>              
    </div>


    <asp:HiddenField ID="hidID" runat="server" />